<?php


namespace app\model;


use think\Model;

class NewModel extends Model
{
    protected $name="new";
    protected $autoWriteTimestamp='datetime';

//    public function getSwitchAttr($value)
//    {
//        $status = ['1'=>'是','0'=>'否'];
//        return $status[$value];
//    }
}